clear

log using results.txt, t replace

import delimited "data.csv"

/*creating interactions*/
gen ncbc=noncolbrit*centralization
gen nct=noncolbrit*tsi

label var rpe "RPE"
label var rpe_indep "RPE"
label var centralization "Centralisation"
label var noncolbrit "Traditional"
label var tsi "TSI"
label var ncbc "Centr.*Trad."
label var nct "Centr.*TSI"
label var direct_taxratio2010 "Direct tax 2010"
label var direct_taxratio1990 "Direct tax 1990"
label var rpe1990 "RPE 1990"
label var anarchy "Anarchy"
label var anarchy_count "Anarchy (years)"
label var nrtaxratio1990 "Non-resource tax 1990"
label var nrtaxratio2010 "Non-resource tax 2010"

/* Scatter plot - source for Figure 1*/

scatter centralization noncolbrit, ylabel(#2) ytick(#2)

// Anarchy (dummy)

ivreg2 anarchy noncolbrit (centralization = tsi),  robust small ffirst
eststo contemp_an_0

ivreg2 anarchy noncolbrit (centralization ncbc = tsi nct),  robust small ffirst
eststo contemp_an_b
lincomest noncolbrit + 0.9*ncbc 
eststo lc_b

ivreg2 anarchy noncolbrit (centralization ncbc = tsi nct) if cname~="South Africa",  robust small ffirst
eststo contemp_an_nsa
lincomest noncolbrit + 0.9*ncbc 
eststo lc_nsa

ivreg2 anarchy noncolbrit (centralization ncbc = tsi nct) if ht~=3,  robust small ffirst
eststo contemp_an_nna
lincomest noncolbrit + 0.9*ncbc 
eststo lc_nna

/*Table 1*/
esttab contemp_an_0 contemp_an_b contemp_an_nsa contemp_an_nna using output.csv, se star(* 0.1 ** 0.05 *** 0.01) title(Contemporary anarchy (dummy)) append
esttab lc_b lc_nsa lc_nna using output.csv, se star(* 0.1 ** 0.05 *** 0.01) append

eststo clear

// Anarchy (count)

ivreg2 anarchy_count noncolbrit (centralization = tsi),  robust small ffirst
eststo contemp_anc_0

ivreg2 anarchy_count noncolbrit (centralization ncbc = tsi nct),  robust small ffirst
eststo contemp_anc_b
lincomest noncolbrit + 0.9*ncbc 
eststo lc_b

ivreg2 anarchy_count noncolbrit (centralization ncbc = tsi nct) if cname~="South Africa",  robust small ffirst
eststo contemp_anc_nsa
lincomest noncolbrit + 0.9*ncbc 
eststo lc_nsa

ivreg2 anarchy_count noncolbrit (centralization ncbc = tsi nct) if ht~=3,  robust small ffirst
eststo contemp_anc_nna
lincomest noncolbrit + 0.9*ncbc 
eststo lc_nna

/*Table 2*/
esttab contemp_anc_0 contemp_anc_b contemp_anc_nsa contemp_anc_nna using output.csv, se star(* 0.1 ** 0.05 *** 0.01) title(Contemporary anarchy (count)) append
esttab lc_b lc_nsa lc_nna using output.csv, se star(* 0.1 ** 0.05 *** 0.01) append

eststo clear

** Post-independence period - Level analysis **
ivreg2 rpe_indep noncolbrit (centralization = tsi),  robust small ffirst
eststo indep_0 // estout package

ivreg2 rpe_indep noncolbrit (centralization ncbc = tsi nct),  robust small ffirst
eststo indep_b
lincomest noncolbrit + 0.9*ncbc // Need to install lincomest package
eststo lc_b

ivreg2 rpe_indep noncolbrit (centralization ncbc = tsi nct) if cname~="South Africa",  robust small ffirst
eststo indep_nsa
lincomest noncolbrit + 0.9*ncbc 
eststo lc_nsa

ivreg2 rpe_indep noncolbrit (centralization ncbc = tsi nct) if ht~=3,  robust small ffirst
eststo indep_nna
lincomest noncolbrit + 0.9*ncbc 
eststo lc_nna

/*Table 3*/
esttab indep_0 indep_b indep_nsa indep_nna using output.csv, se star(* 0.1 ** 0.05 *** 0.01) title(Post-independence RPE) replace
esttab lc_b lc_nsa lc_nna using output.csv, se star(* 0.1 ** 0.05 *** 0.01) append

eststo clear
** Contemporary period - Level analysis **

// RPE
ivreg2 rpe noncolbrit (centralization = tsi),  robust small ffirst
eststo contemp_rpe_0

ivreg2 rpe noncolbrit (centralization ncbc = tsi nct),  robust small ffirst
eststo contemp_rpe_b
lincomest noncolbrit + 0.9*ncbc 
eststo lc_b

ivreg2 rpe noncolbrit (centralization ncbc = tsi nct) if cname~="South Africa",  robust small ffirst
eststo contemp_rpe_nsa
lincomest noncolbrit + 0.9*ncbc 
eststo lc_nsa

ivreg2 rpe noncolbrit (centralization ncbc = tsi nct) if ht~=3,  robust small ffirst
eststo contemp_rpe_nna
lincomest noncolbrit + 0.9*ncbc 
eststo lc_nna

/*Table 4*/
esttab contemp_rpe_0 contemp_rpe_b contemp_rpe_nsa contemp_rpe_nna using output.csv, se star(* 0.1 ** 0.05 *** 0.01) title(Contemporary RPE) append
esttab lc_b lc_nsa lc_nna using output.csv, se star(* 0.1 ** 0.05 *** 0.01) append

eststo clear
// Direct tax ratio 2010

ivreg2 direct_taxratio2010 noncolbrit (centralization = tsi),  robust small ffirst
eststo contemp_dtax_0

ivreg2 direct_taxratio2010 noncolbrit (centralization ncbc = tsi nct),  robust small ffirst
eststo contemp_dtax_b
lincomest noncolbrit + 0.9*ncbc 
eststo lc_b

ivreg2 direct_taxratio2010 noncolbrit (centralization ncbc = tsi nct) if cname~="South Africa",  robust small ffirst
eststo contemp_dtax_nsa
lincomest noncolbrit + 0.9*ncbc 
eststo lc_nsa

ivreg2 direct_taxratio2010 noncolbrit (centralization ncbc = tsi nct) if ht~=3,  robust small ffirst
eststo contemp_dtax_nna
lincomest noncolbrit + 0.9*ncbc 
eststo lc_nna

/*Table 6*/
esttab contemp_dtax_0 contemp_dtax_b contemp_dtax_nsa contemp_dtax_nna using output.csv, se star(* 0.1 ** 0.05 *** 0.01) title(Contemporary direct tax) append
esttab lc_b lc_nsa lc_nna using output.csv, se star(* 0.1 ** 0.05 *** 0.01) append

eststo clear
// Non-resource tax ratio 2010

ivreg2 nrtaxratio2010 noncolbrit (centralization = tsi),  robust small ffirst
eststo contemp_nrtax_0

ivreg2 nrtaxratio2010 noncolbrit (centralization ncbc = tsi nct),  robust small ffirst
eststo contemp_nrtax_b
lincomest noncolbrit + 0.9*ncbc 
eststo lc_b

ivreg2 nrtaxratio2010 noncolbrit (centralization ncbc = tsi nct) if cname~="South Africa",  robust small ffirst
eststo contemp_nrtax_nsa
lincomest noncolbrit + 0.9*ncbc 
eststo lc_nsa

* North African countries already missing

/*Table 8*/
esttab contemp_nrtax_0 contemp_nrtax_b contemp_nrtax_nsa using output.csv, se star(* 0.1 ** 0.05 *** 0.01) title(Contemporary non-resource tax) append
esttab lc_b lc_nsa using output.csv, se star(* 0.1 ** 0.05 *** 0.01) append

eststo clear
** Change analysis 1990-2010

gen rpe90_10 = rpe - rpe1990
gen dirtax90_10 = direct_taxratio2010 - direct_taxratio1990
gen nrtax90_10 = nrtaxratio2010 - nrtaxratio1990

label var rpe90_10 "RPE 1990-2010"
label var dirtax90_10 "Direct tax ratio 1990-2010"
label var nrtax90_10 "Non-resource tax ratoi 1990-2010"

// RPE 1990-2010

ivreg2 rpe90_10 noncolbrit rpe1990 (centralization = tsi),  robust small ffirst
eststo change_rpe_0

ivreg2 rpe90_10 noncolbrit rpe1990 (centralization ncbc = tsi nct),  robust small ffirst
eststo change_rpe_b
lincomest noncolbrit + 0.9*ncbc 
eststo lc_b

ivreg2 rpe90_10 noncolbrit rpe1990 (centralization ncbc = tsi nct) if cname~="South Africa",  robust small ffirst
eststo change_rpe_nsa
lincomest noncolbrit + 0.9*ncbc 
eststo lc_nsa

ivreg2 rpe90_10 noncolbrit rpe1990 (centralization ncbc = tsi nct) if ht~=3,  robust small ffirst
eststo change_rpe_nna
lincomest noncolbrit + 0.9*ncbc 
eststo lc_nna

/*Table 5*/
esttab change_rpe_0 change_rpe_b change_rpe_nsa change_rpe_nna using output.csv, se star(* 0.1 ** 0.05 *** 0.01) title(Change RPE) append
esttab lc_b lc_nsa lc_nna using output.csv, se star(* 0.1 ** 0.05 *** 0.01) append

eststo clear
// Direct tax ratio 1990-2010

ivreg2 dirtax90_10 noncolbrit direct_taxratio1990 (centralization = tsi),  robust small ffirst
eststo change_drtax_0

ivreg2 dirtax90_10 noncolbrit direct_taxratio1990 (centralization ncbc = tsi nct),  robust small ffirst
eststo change_drtax_b
lincomest noncolbrit + 0.9*ncbc 
eststo lc_b

ivreg2 dirtax90_10 noncolbrit direct_taxratio1990 (centralization ncbc = tsi nct) if cname~="South Africa",  robust small ffirst
eststo change_drtax_nsa
lincomest noncolbrit + 0.9*ncbc 
eststo lc_nsa

ivreg2 dirtax90_10 noncolbrit direct_taxratio1990 (centralization ncbc = tsi nct) if ht~=3,  robust small ffirst
eststo change_drtax_nna
lincomest noncolbrit + 0.9*ncbc 
eststo lc_nna

/*Table 7*/
esttab change_drtax_0 change_drtax_b change_drtax_nsa change_drtax_nna using output.csv, se star(* 0.1 ** 0.05 *** 0.01) title(Change direct tax) append
esttab lc_b lc_nsa lc_nna using output.csv, se star(* 0.1 ** 0.05 *** 0.01) append


eststo clear
// Non-resource tax ratio 1990-2010

ivreg2 nrtax90_10 noncolbrit nrtaxratio1990 (centralization = tsi),  robust small ffirst
eststo change_nrtax_0

ivreg2 nrtax90_10 noncolbrit nrtaxratio1990 (centralization ncbc = tsi nct),  robust small ffirst
eststo change_nrtax_b
lincomest noncolbrit + 0.9*ncbc 
eststo lc_b

ivreg2 nrtax90_10 noncolbrit nrtaxratio1990 (centralization ncbc = tsi nct) if cname~="South Africa",  robust small ffirst
eststo change_nrtax_nsa
lincomest noncolbrit + 0.9*ncbc 
eststo lc_nsa

* North African countries already missing

/*Table 9*/
esttab change_nrtax_0 change_nrtax_b change_nrtax_nsa using output.csv, se star(* 0.1 ** 0.05 *** 0.01) title(Change non-resource tax) append
esttab lc_b lc_nsa using output.csv, se star(* 0.1 ** 0.05 *** 0.01) append

eststo clear



** Models with controls

replace abslat=abslat/1000
replace malaria=malaria/1000
replace meantemp=meantemp/1000
replace nunn_lnpopden1400=nunn_lnpopden1400/1000
replace al_partitionedc_final=al_partitionedc_final/1000
label var abslat "Latitude"
label var malaria "Malaria"
label var meantemp "Mean temp."
label var statehist01_1850 "State antiquity"
label var nunn_lnpopden1400 "Pop. density 1400"
label var al_lnfractal "Fractal (log)"
label var al_partitionedc_final "Partitioned"

// RPE post-independence

ivreg2 rpe_indep noncolbrit abslat (centralization ncbc = tsi nct),  robust small ffirst
eststo indep_lat
lincomest noncolbrit + 0.9*ncbc 
eststo lc_lat

ivreg2 rpe_indep noncolbrit meantemp (centralization ncbc = tsi nct),  robust small ffirst
eststo indep_temp
lincomest noncolbrit + 0.9*ncbc 
eststo lc_temp

ivreg2 rpe_indep noncolbrit al_lnfractal (centralization ncbc = tsi nct),  robust small ffirst
eststo indep_frac
lincomest noncolbrit + 0.9*ncbc 
eststo lc_frac

ivreg2 rpe_indep noncolbrit al_partitionedc_final (centralization ncbc = tsi nct),  robust small ffirst
eststo indep_part
lincomest noncolbrit + 0.9*ncbc 
eststo lc_part

ivreg2 rpe_indep noncolbrit statehist01_1850 (centralization ncbc = tsi nct),  robust small ffirst
eststo indep_sai
lincomest noncolbrit + 0.9*ncbc 
eststo lc_sai

ivreg2 rpe_indep noncolbrit nunn_lnpopden1400 (centralization ncbc = tsi nct),  robust small ffirst
eststo indep_pop
lincomest noncolbrit + 0.9*ncbc 
eststo lc_pop

ivreg2 rpe_indep noncolbrit malaria (centralization ncbc = tsi nct),  robust small ffirst
eststo indep_mal
lincomest noncolbrit + 0.9*ncbc 
eststo lc_mal

esttab indep_lat indep_temp indep_frac indep_part indep_sai indep_pop indep_mal, se star(* 0.1 ** 0.05 *** 0.01) title(RPE post-independence with controls) label nomtitles

eststo clear
// RPE contemporary

ivreg2 rpe noncolbrit abslat (centralization ncbc = tsi nct),  robust small ffirst
eststo rpe_lat
lincomest centralization + ncbc
eststo lc_lat

ivreg2 rpe noncolbrit meantemp (centralization ncbc = tsi nct),  robust small ffirst
eststo rpe_temp
lincomest centralization + ncbc
eststo lc_temp

ivreg2 rpe noncolbrit al_lnfractal (centralization ncbc = tsi nct),  robust small ffirst
eststo rpe_frac
lincomest centralization + ncbc
eststo lc_frac

ivreg2 rpe noncolbrit al_partitionedc_final (centralization ncbc = tsi nct),  robust small ffirst
eststo rpe_part
lincomest centralization + ncbc
eststo lc_part

ivreg2 rpe noncolbrit statehist01_1850 (centralization ncbc = tsi nct),  robust small ffirst
eststo rpe_sai
lincomest centralization + ncbc
eststo lc_sai

ivreg2 rpe noncolbrit nunn_lnpopden1400 (centralization ncbc = tsi nct),  robust small ffirst
eststo rpe_pop
lincomest centralization + ncbc
eststo lc_pop

ivreg2 rpe noncolbrit malaria (centralization ncbc = tsi nct),  robust small ffirst
eststo rpe_mal
lincomest centralization + ncbc
eststo lc_mal

esttab rpe_lat rpe_temp rpe_frac rpe_part rpe_sai rpe_pop rpe_mal, se star(* 0.1 ** 0.05 *** 0.01) title(Contemporary RPE with controls) label nomtitles

eststo clear
// Direct tax ratio 2010

ivreg2 direct_taxratio2010 noncolbrit abslat (centralization ncbc = tsi nct),  robust small ffirst
eststo drtax_lat
lincomest noncolbrit + 0.9*ncbc 
eststo lc_lat

ivreg2 direct_taxratio2010 noncolbrit meantemp (centralization ncbc = tsi nct),  robust small ffirst
eststo drtax_temp
lincomest noncolbrit + 0.9*ncbc 
eststo lc_temp

ivreg2 direct_taxratio2010 noncolbrit al_lnfractal (centralization ncbc = tsi nct),  robust small ffirst
eststo drtax_frac
lincomest noncolbrit + 0.9*ncbc 
eststo lc_frac

ivreg2 direct_taxratio2010 noncolbrit al_partitionedc_final (centralization ncbc = tsi nct),  robust small ffirst
eststo drtax_part
lincomest noncolbrit + 0.9*ncbc 
eststo lc_part

ivreg2 direct_taxratio2010 noncolbrit statehist01_1850 (centralization ncbc = tsi nct),  robust small ffirst
eststo drtax_sai
lincomest noncolbrit + 0.9*ncbc 
eststo lc_sai

ivreg2 direct_taxratio2010 noncolbrit nunn_lnpopden1400 (centralization ncbc = tsi nct),  robust small ffirst
eststo drtax_pop
lincomest noncolbrit + 0.9*ncbc 
eststo lc_pop

ivreg2 direct_taxratio2010 noncolbrit malaria (centralization ncbc = tsi nct),  robust small ffirst
eststo drtax_mal
lincomest noncolbrit + 0.9*ncbc 
eststo lc_mal

/*Table 11*/
esttab drtax_lat drtax_temp drtax_frac drtax_part drtax_sai drtax_pop drtax_mal, se star(* 0.1 ** 0.05 *** 0.01) title(Direct tax ratio 2010 with controls) label nomtitles

eststo clear
// Non-resource tax ratio 2010

ivreg2 nrtaxratio2010 noncolbrit abslat (centralization ncbc = tsi nct),  robust small ffirst
eststo nrtax_lat
lincomest centralization + ncbc
eststo lc_lat

ivreg2 nrtaxratio2010 noncolbrit meantemp (centralization ncbc = tsi nct),  robust small ffirst
eststo nrtax_temp
lincomest centralization + ncbc
eststo lc_temp

ivreg2 nrtaxratio2010 noncolbrit al_lnfractal (centralization ncbc = tsi nct),  robust small ffirst
eststo nrtax_frac
lincomest centralization + ncbc
eststo lc_frac

ivreg2 nrtaxratio2010 noncolbrit al_partitionedc_final (centralization ncbc = tsi nct),  robust small ffirst
eststo nrtax_part
lincomest centralization + ncbc
eststo lc_part

ivreg2 nrtaxratio2010 noncolbrit statehist01_1850 (centralization ncbc = tsi nct),  robust small ffirst
eststo nrtax_sai
lincomest centralization + ncbc
eststo lc_sai

ivreg2 nrtaxratio2010 noncolbrit nunn_lnpopden1400 (centralization ncbc = tsi nct),  robust small ffirst
eststo nrtax_pop
lincomest centralization + ncbc
eststo lc_pop

ivreg2 nrtaxratio2010 noncolbrit malaria (centralization ncbc = tsi nct),  robust small ffirst
eststo nrtax_mal
lincomest centralization + ncbc
eststo lc_mal

esttab nrtax_lat nrtax_temp nrtax_frac nrtax_part nrtax_sai nrtax_pop nrtax_mal, se star(* 0.1 ** 0.05 *** 0.01) title(Non-resource tax ratio 2010 with controls) label nomtitles

eststo clear
// Anarchy (dummy)

ivreg2 anarchy noncolbrit abslat (centralization ncbc = tsi nct),  robust small ffirst
eststo an_lat
lincomest centralization + ncbc
eststo lc_lat

ivreg2 anarchy noncolbrit meantemp (centralization ncbc = tsi nct),  robust small ffirst
eststo an_temp
lincomest centralization + ncbc
eststo lc_temp

ivreg2 anarchy noncolbrit al_lnfractal (centralization ncbc = tsi nct),  robust small ffirst
eststo an_frac
lincomest centralization + ncbc
eststo lc_frac

ivreg2 anarchy noncolbrit al_partitionedc_final (centralization ncbc = tsi nct),  robust small ffirst
eststo an_part
lincomest centralization + ncbc
eststo lc_part

ivreg2 anarchy noncolbrit statehist01_1850 (centralization ncbc = tsi nct),  robust small ffirst
eststo an_sai
lincomest centralization + ncbc
eststo lc_sai

ivreg2 anarchy noncolbrit nunn_lnpopden1400 (centralization ncbc = tsi nct),  robust small ffirst
eststo an_pop
lincomest centralization + ncbc
eststo lc_pop

ivreg2 anarchy noncolbrit malaria (centralization ncbc = tsi nct),  robust small ffirst
eststo an_mal
lincomest centralization + ncbc
eststo lc_mal

esttab an_lat an_temp an_frac an_part an_sai an_pop an_mal, se star(* 0.1 ** 0.05 *** 0.01) title("Anarchy (dummy) with controls") label nomtitles

eststo clear
// Anarchy (count)

ivreg2 anarchy_count noncolbrit abslat (centralization ncbc = tsi nct),  robust small ffirst
eststo anc_lat
lincomest noncolbrit + 0.9*ncbc 
eststo lc_lat

ivreg2 anarchy_count noncolbrit meantemp (centralization ncbc = tsi nct),  robust small ffirst
eststo anc_temp
lincomest noncolbrit + 0.9*ncbc 
eststo lc_temp

ivreg2 anarchy_count noncolbrit al_lnfractal (centralization ncbc = tsi nct),  robust small ffirst
eststo anc_frac
lincomest noncolbrit + 0.9*ncbc 
eststo lc_frac

ivreg2 anarchy_count noncolbrit al_partitionedc_final (centralization ncbc = tsi nct),  robust small ffirst
eststo anc_part
lincomest noncolbrit + 0.9*ncbc 
eststo lc_part

ivreg2 anarchy_count noncolbrit statehist01_1850 (centralization ncbc = tsi nct),  robust small ffirst
eststo anc_sai
lincomest noncolbrit + 0.9*ncbc 
eststo lc_sai

ivreg2 anarchy_count noncolbrit nunn_lnpopden1400 (centralization ncbc = tsi nct),  robust small ffirst
eststo anc_pop
lincomest noncolbrit + 0.9*ncbc 
eststo lc_pop

ivreg2 anarchy_count noncolbrit malaria (centralization ncbc = tsi nct),  robust small ffirst
eststo anc_mal
lincomest noncolbrit + 0.9*ncbc 
eststo lc_mal

/*Table 10*/
esttab anc_lat anc_temp anc_frac anc_part anc_sai anc_pop anc_mal, se star(* 0.1 ** 0.05 *** 0.01) title("Anarchy (count) with controls)") label nomtitles

eststo clear
// RPE 1990-2010

ivreg2 rpe90_10 noncolbrit rpe1990 abslat (centralization ncbc = tsi nct),  robust small ffirst
eststo rpec_lat
lincomest centralization + ncbc
eststo lc_lat

ivreg2 rpe90_10 noncolbrit rpe1990 meantemp (centralization ncbc = tsi nct),  robust small ffirst
eststo rpec_temp
lincomest centralization + ncbc
eststo lc_temp

ivreg2 rpe90_10 noncolbrit rpe1990 al_lnfractal (centralization ncbc = tsi nct),  robust small ffirst
eststo rpec_frac
lincomest centralization + ncbc
eststo lc_frac

ivreg2 rpe90_10 noncolbrit rpe1990 al_partitionedc_final (centralization ncbc = tsi nct),  robust small ffirst
eststo rpec_part
lincomest centralization + ncbc
eststo lc_part

ivreg2 rpe90_10 noncolbrit rpe1990 statehist01_1850 (centralization ncbc = tsi nct),  robust small ffirst
eststo rpec_sai
lincomest centralization + ncbc
eststo lc_sai

ivreg2 rpe90_10 noncolbrit rpe1990 nunn_lnpopden1400 (centralization ncbc = tsi nct),  robust small ffirst
eststo rpec_pop
lincomest centralization + ncbc
eststo lc_pop

ivreg2 rpe90_10 noncolbrit rpe1990 malaria (centralization ncbc = tsi nct),  robust small ffirst
eststo rpec_mal
lincomest centralization + ncbc
eststo lc_mal

esttab rpec_lat rpec_temp rpec_frac rpec_part rpec_sai rpec_pop rpec_mal, se star(* 0.1 ** 0.05 *** 0.01) title(Change in RPE 1990-2010 with controls) label nomtitles

eststo clear
// Direct tax ratio 1990-2010

ivreg2 dirtax90_10 noncolbrit direct_taxratio1990 abslat (centralization ncbc = tsi nct),  robust small ffirst
eststo drtaxc_lat
lincomest centralization + ncbc
eststo lc_lat

ivreg2 dirtax90_10 noncolbrit direct_taxratio1990 meantemp (centralization ncbc = tsi nct),  robust small ffirst
eststo drtaxc_temp
lincomest centralization + ncbc
eststo lc_temp

ivreg2 dirtax90_10 noncolbrit direct_taxratio1990 al_lnfractal (centralization ncbc = tsi nct),  robust small ffirst
eststo drtaxc_frac
lincomest centralization + ncbc
eststo lc_frac

ivreg2 dirtax90_10 noncolbrit direct_taxratio1990 al_partitionedc_final (centralization ncbc = tsi nct),  robust small ffirst
eststo drtaxc_part
lincomest centralization + ncbc
eststo lc_part

ivreg2 dirtax90_10 noncolbrit direct_taxratio1990 statehist01_1850 (centralization ncbc = tsi nct),  robust small ffirst
eststo drtaxc_sai
lincomest centralization + ncbc
eststo lc_sai

ivreg2 dirtax90_10 noncolbrit direct_taxratio1990 nunn_lnpopden1400 (centralization ncbc = tsi nct),  robust small ffirst
eststo drtaxc_pop
lincomest centralization + ncbc
eststo lc_pop

ivreg2 dirtax90_10 noncolbrit direct_taxratio1990 malaria (centralization ncbc = tsi nct),  robust small ffirst
eststo drtaxc_mal
lincomest centralization + ncbc
eststo lc_mal

esttab drtaxc_lat drtaxc_temp drtaxc_frac drtaxc_part drtaxc_sai drtaxc_pop drtaxc_mal, se star(* 0.1 ** 0.05 *** 0.01) title(Change in direct tax ratio 1990-2010 with controls) label nomtitles

eststo clear
// Non-resource tax ratio 1990-2010

ivreg2 nrtax90_10 noncolbrit nrtaxratio1990 abslat (centralization ncbc = tsi nct),  robust small ffirst
eststo nrtaxc_lat
lincomest centralization + ncbc
eststo lc_lat

ivreg2 nrtax90_10 noncolbrit nrtaxratio1990 meantemp (centralization ncbc = tsi nct),  robust small ffirst
eststo nrtaxc_temp
lincomest centralization + ncbc
eststo lc_temp

ivreg2 nrtax90_10 noncolbrit nrtaxratio1990 al_lnfractal (centralization ncbc = tsi nct),  robust small ffirst
eststo nrtaxc_frac
lincomest centralization + ncbc
eststo lc_frac

ivreg2 nrtax90_10 noncolbrit nrtaxratio1990 al_partitionedc_final (centralization ncbc = tsi nct),  robust small ffirst
eststo nrtaxc_part
lincomest centralization + ncbc
eststo lc_part

ivreg2 nrtax90_10 noncolbrit nrtaxratio1990 statehist01_1850 (centralization ncbc = tsi nct),  robust small ffirst
eststo nrtaxc_sai
lincomest centralization + ncbc
eststo lc_sai

ivreg2 nrtax90_10 noncolbrit nrtaxratio1990 nunn_lnpopden1400 (centralization ncbc = tsi nct),  robust small ffirst
eststo nrtaxc_pop
lincomest centralization + ncbc
eststo lc_pop

ivreg2 nrtax90_10 noncolbrit nrtaxratio1990 malaria (centralization ncbc = tsi nct),  robust small ffirst
eststo nrtaxc_mal
lincomest centralization + ncbc
eststo lc_mal

esttab nrtaxc_lat nrtaxc_temp nrtaxc_frac nrtaxc_part nrtaxc_sai nrtaxc_pop nrtaxc_mal, se star(* 0.1 ** 0.05 *** 0.01) title(Change in non-resource tax ratio 1990-2010 with controls) label nomtitles

eststo clear

**

log close
